<div class="cambiarubicacion">
  <div id="dialog2" title="Cambiar Ubicaci&oacute;n">
      <form id="form_cambioubicacion" action="/index.php" method="post">
          <table width="580" border="0">  
          <tr>                
            <td width="160">
              <label for="pais">Pa&iacute;s</label>
            </td>
            <td width="430">
              <span id="validacion_text_pais">
                <input type="text" name="pais" id="pais" />
                <span class="textfieldRequiredMsg">Debes ingresar un pa&iacute;s.</span> 
                <span class="textfieldMaxCharsMsg">Haz excedido el m&aacute;ximo n&uacute;mero de caracteres (30).</span>
              </span>
            </td>
          </tr>
          <tr>                
            <td width="160">
              <label for="departamento">Departamento</label>
            </td>
            <td width="430">
              <span id="validacion_text_departamento">
                <input type="text" name="departamento" id="departamento" />
                <span class="textfieldRequiredMsg">Debes ingresar un pa&iacute;s.</span> 
                <span class="textfieldMaxCharsMsg">Haz excedido el m&aacute;ximo n&uacute;mero de caracteres (30).</span>
              </span>
            </td>
          </tr>  
          </table>
     </form>   
  </div>
  
  <button id="opener2" class="boton">Cambiar</button>
</div><!-- End demo -->

<script type="text/javascript">
  var val_text_pais = new Spry.Widget.ValidationTextField("validacion_text_pais", "none", {maxChars:30, validateOn:["change"]});
  var val_text_departamento = new Spry.Widget.ValidationTextField("validacion_text_departamento", "none", {maxChars:30, validateOn:["change"]});
</script>
